Use VBVMR_GetParameterStringW instead of VBVMR_GetParameterStringA

update struct result definition

fixes bug with unknown parameters
This commit is contained in:
2024-06-27 23:26:46 +01:00
parent accab93fba
commit 3c46b3d9f3
3 changed files with 6 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ long version(T_VBVMR_INTERFACE *iVMR, long *version);
bool is_pdirty(T_VBVMR_INTERFACE *iVMR);
long get_parameter_float(T_VBVMR_INTERFACE *iVMR, char *param, float *f);
long get_parameter_string(T_VBVMR_INTERFACE *iVMR, char *param, char *s);
long get_parameter_string(T_VBVMR_INTERFACE *iVMR, char *param, unsigned short *s);
long set_parameter_float(T_VBVMR_INTERFACE *iVMR, char *param, float val);
long set_parameter_string(T_VBVMR_INTERFACE *iVMR, char *param, char *s);
long set_parameters(T_VBVMR_INTERFACE *iVMR, char *command);