changeset 295:c017b21a1990

added expRegEnumValueA(), fixed expWaitForSingleObject()
author arpi_esp
date Fri, 06 Apr 2001 16:29:55 +0000
parents 701aad6a43ee
children c3d7a28a0d1a
files loader/win32.c
diffstat 1 files changed, 14 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/loader/win32.c	Fri Apr 06 11:04:37 2001 +0000
+++ b/loader/win32.c	Fri Apr 06 16:29:55 2001 +0000
@@ -584,7 +584,7 @@
 void* WINAPI expWaitForSingleObject(void* object, int duration)
 {
     mutex_list *ml = (mutex_list *)object;
-    int ret;
+    int ret=0x12345678; // fixed by Zdenek Kabelac
     mutex_list* pp=mlist;
 //    dbgprintf("WaitForSingleObject(0x%x, duration %d) =>\n",object, duration);
     do {
@@ -2338,11 +2338,19 @@
 }
 
 
-
-
+/******************************************************************************
+ *           RegEnumValueA   [ADVAPI32.@]
+ */
+ DWORD WINAPI expRegEnumValueA( HKEY hkey, DWORD index, LPSTR value, LPDWORD val_count,
+                             LPDWORD reserved, LPDWORD type, LPBYTE data, LPDWORD count )
+{
+ 
+ printf("RegEnumValueA(%x,%ld,%p,%p,%p,%p,%p,%p)\n",
+   hkey, index, value, val_count, reserved, type, data, count );
 
-
-
+ return -1;
+}
+ 
 
 
 
@@ -2515,6 +2523,7 @@
 FF(RegQueryValueExA, -1)
 FF(RegSetValueExA, -1)
 FF(RegCloseKey, -1)
+//FF(RegEnumValueA, -1)
 };
 struct exports exp_gdi32[]={
 FF(CreateCompatibleDC, -1)