- Timestamp:
- Oct 8, 2000, 4:01:02 PM (25 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/KERNEL32.DEF
r4445 r4451 1 ; $Id: KERNEL32.DEF,v 1. 89 2000-10-06 15:15:59 sandervl Exp $1 ; $Id: KERNEL32.DEF,v 1.90 2000-10-08 14:00:59 sandervl Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 231 231 CreateTapePartition = _CreateTapePartition@16 @177 232 232 CreateThread = _CreateThread@24 @178 233 CreateToolhelp32Snapshot = _CreateToolhelp32Snapshot@8 @179 ;W95233 ;;;; CreateToolhelp32Snapshot = _CreateToolhelp32Snapshot@8 @179 ;W95 234 234 ; CreateVirtualBuffer = _CreateVirtualBuffer@?? @68 ;NT 235 235 CreateWaitableTimerA = _CreateWaitableTimerA@12 @69 ;NT … … 634 634 MapViewOfFile = _MapViewOfFile@20 @525 635 635 MapViewOfFileEx = _MapViewOfFileEx@24 @526 636 Module32First = _Module32First@8 @527 ;W95637 Module32Next = _Module32Next@8 @528 ;W95636 ;;;; Module32First = _Module32First@8 @527 ;W95 637 ;;;; Module32Next = _Module32Next@8 @528 ;W95 638 638 MoveFileA = _MoveFileA@8 @529 639 639 MoveFileExA = _MoveFileExA@12 @530 … … 665 665 PostQueuedCompletionStatus = _PostQueuedCompletionStatus@16 @553 666 666 PrepareTape = _PrepareTape@12 @554 667 Process32First = _Process32First@8 @555 ;W95668 Process32Next = _Process32Next@8 @556 ;W95667 ;;; Process32First = _Process32First@8 @555 ;W95 668 ;;; Process32Next = _Process32Next@8 @556 ;W95 669 669 PulseEvent = _PulseEvent@4 @557 670 670 PurgeComm = _PurgeComm@8 @558 … … 832 832 TerminateProcess = _TerminateProcess@8 @684 833 833 TerminateThread = _TerminateThread@8 @685 834 ; Thread32First = _Thread32First@??@686 ;W95835 ; Thread32Next = _Thread32Next@??@687 ;W95834 ;;;; Thread32First = _Thread32First@8 @686 ;W95 835 ;;;; Thread32Next = _Thread32Next@8 @687 ;W95 836 836 ThunkConnect32 = _ThunkConnect32@24 @688 ;W95 837 837 TlsAlloc = _TlsAlloc@0 @689 -
trunk/src/kernel32/environ.cpp
r4381 r4451 1 /* $Id: environ.cpp,v 1. 8 2000-10-02 16:22:09 phallerExp $ */1 /* $Id: environ.cpp,v 1.9 2000-10-08 14:01:01 sandervl Exp $ */ 2 2 3 3 /* … … 120 120 DWORD, nSize) 121 121 { 122 dprintf(("GetEnvironmentVariableA %s", lpName)); 122 123 return O32_GetEnvironmentVariable(lpName, lpBuffer, nSize); 123 124 } … … 132 133 DWORD rc; 133 134 134 asciibuffer = (char *)malloc(nSize+1); 135 *asciibuffer = 0; 135 if(nSize) { 136 asciibuffer = (char *)malloc(nSize+1); 137 *asciibuffer = 0; 138 } 139 else asciibuffer = NULL; 140 136 141 astring = UnicodeToAsciiString((LPWSTR)lpName); 137 142 138 rc = O32_GetEnvironmentVariable(astring, asciibuffer, nSize);143 rc = CALL_ODINFUNC(GetEnvironmentVariableA)(astring, asciibuffer, nSize); 139 144 AsciiToUnicode(asciibuffer, lpBuffer); 140 145 FreeAsciiString(astring); 141 free(asciibuffer); 146 if(asciibuffer) 147 free(asciibuffer); 142 148 return(rc); 143 149 } -
trunk/src/kernel32/ole2nls.cpp
r4387 r4451 1 /* $Id: ole2nls.cpp,v 1. 4 2000-10-02 18:39:34sandervl Exp $ */1 /* $Id: ole2nls.cpp,v 1.5 2000-10-08 14:01:01 sandervl Exp $ */ 2 2 3 3 /* … … 199 199 char buf_en_language[128]; 200 200 201 TRACE("%04X\n", (UINT)LangID);201 dprintf2(("%04X\n", (UINT)LangID)); 202 202 if(PRIMARYLANGID(LangID) == LANG_NEUTRAL) 203 203 return TRUE; /* continue search */ … … 1912 1912 int i; 1913 1913 1914 TRACE("(0x%04lx,0x%08lx,%s,%d,%p,%d)\n",1915 lcid,mapflags,srcstr,srclen,dststr,dstlen) ;1914 dprintf2(("LCMapStringA: (0x%04lx,0x%08lx,%s,%d,%p,%d)", 1915 lcid,mapflags,srcstr,srclen,dststr,dstlen)); 1916 1916 1917 1917 if ( ((dstlen!=0) && (dststr==NULL)) || (srcstr==NULL) ) … … 2492 2492 int result; 2493 2493 LPSTR sk1,sk2; 2494 TRACE("%s and %s\n",2495 debugstr_a (s1), debugstr_a (s2)) ;2494 dprintf2(("%s and %s\n", 2495 debugstr_a (s1), debugstr_a (s2))); 2496 2496 2497 2497 if ( (s1==NULL) || (s2==NULL) ) -
trunk/src/kernel32/toolhelp.cpp
r2802 r4451 1 /* $Id: toolhelp.cpp,v 1. 2 2000-02-16 14:23:12 sandervl Exp $ */1 /* $Id: toolhelp.cpp,v 1.3 2000-10-08 14:01:02 sandervl Exp $ */ 2 2 3 3 /* … … 23 23 #include "winerror.h" 24 24 #include "tlhelp32.h" 25 #include "toolhelp.h"26 25 27 26 #define DBG_LOCALLOG DBG_toolhelp … … 37 36 DWORD,dwProcess) 38 37 { 39 dprintf(("KERNEL32: CreateToolhelp32Snapshot not implemented.\n"));38 dprintf(("KERNEL32: CreateToolhelp32Snapshot %x %x not implemented, dwFlags, dwProcess")); 40 39 SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); 41 40 return INVALID_HANDLE_VALUE; … … 49 48 */ 50 49 ODINFUNCTION2(BOOL,Process32First,HANDLE, hSnapshot, 51 LPPROCESSENTRY ,lppe)50 LPPROCESSENTRY32,lppe) 52 51 { 53 dprintf(("KERNEL32: Process32First not implemented.\n"));52 dprintf(("KERNEL32: Process32First %x %x not implemented", hSnapshot, lppe)); 54 53 SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); 55 54 return FALSE; … … 62 61 */ 63 62 ODINFUNCTION2(BOOL,Process32Next,HANDLE, hSnapshot, 64 LPPROCESSENTRY ,lppe)63 LPPROCESSENTRY32,lppe) 65 64 { 66 dprintf(("KERNEL32: Process32Next not implemented.\n"));65 dprintf(("KERNEL32: Process32Next %x %x not implemented", hSnapshot, lppe)); 67 66 SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); 68 67 return FALSE; … … 75 74 */ 76 75 ODINFUNCTION2(BOOL,Module32First,HANDLE,hSnapshot, 77 LP VOID,lpme)76 LPMODULEENTRY32,lpme) 78 77 { 79 // LPMODULEENTY,lpme) 80 dprintf(("KERNEL32: Module32First not implemented.\n")); 78 dprintf(("KERNEL32: Module32First %x %x not implemented", hSnapshot, lpme)); 81 79 SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); 82 80 return FALSE; … … 89 87 */ 90 88 ODINFUNCTION2(BOOL,Module32Next,HANDLE,hSnapshot, 91 LP VOID,lpme)89 LPMODULEENTRY32,lpme) 92 90 { 93 // LPMODULEENTRY,lpme) 94 dprintf(("KERNEL32: Module32Next not implemented.\n")); 91 dprintf(("KERNEL32: Module32Next %x %x not implemented", hSnapshot, lpme)); 95 92 SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); 96 93 return FALSE; 97 94 } 98 95 96 97 BOOL WINAPI Thread32First(HANDLE hSnapshot,LPTHREADENTRY32 lpte) 98 { 99 dprintf(("KERNEL32: Thread32First %x %x not implemented", hSnapshot, lpte)); 100 SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); 101 return FALSE; 102 } 103 104 BOOL WINAPI Thread32Next(HANDLE hSnapshot, LPTHREADENTRY32 lpte) 105 { 106 dprintf(("KERNEL32: Thread32Next %x %x not implemented", hSnapshot, lpte)); 107 SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); 108 return FALSE; 109 }
Note:
See TracChangeset
for help on using the changeset viewer.