nvcuda-CUDA_Support: Rename function arguments in Unknown1 interface back to void*, we don't know enough about this internal interface yet.

This commit is contained in:
Sebastian Lackner 2015-01-09 19:34:10 +01:00
parent e7782a24bf
commit a0d5d4158b

View File

@ -164,7 +164,7 @@ index 0000000..4e733eb
+struct Unknown1_table
+{
+ int size;
+ void* (WINAPI *func0)(CUmodule *hmod, void *param1);
+ void* (WINAPI *func0)(void *param0, void *param1);
+ void* (WINAPI *func1)(void *param0, void *param1);
+ void* (WINAPI *func2)(void *param0, void *param1);
+ void* (WINAPI *func3)(void *param0, void *param1);
@ -173,7 +173,7 @@ index 0000000..4e733eb
+static const struct
+{
+ int size;
+ void* (*func0)(CUmodule *hmod, void *param1);
+ void* (*func0)(void *param0, void *param1);
+ void* (*func1)(void *param0, void *param1);
+ void* (*func2)(void *param0, void *param1);
+ void* (*func3)(void *param0, void *param1);
@ -261,10 +261,10 @@ index 0000000..4e733eb
+} *Unknown5_orig = NULL;
+
+
+void* WINAPI Unknown1_func0_relay(CUmodule *hmod, void *param1)
+void* WINAPI Unknown1_func0_relay(void *param0, void *param1)
+{
+ TRACE("(%p, %p)\n", hmod, param1);
+ return Unknown1_orig->func0(hmod, param1);
+ TRACE("(%p, %p)\n", param0, param1);
+ return Unknown1_orig->func0(param0, param1);
+}
+
+void* WINAPI Unknown1_func1_relay(void *param0, void *param1)