Changelog: * Provide stubs for DnsHostnameToComputerNameA/W Index: dlls/kernel/computername.c =================================================================== RCS file: /home/wine/wine/dlls/kernel/computername.c,v retrieving revision 1.3 diff -u -r1.3 computername.c --- dlls/kernel/computername.c 18 Nov 2002 23:12:15 -0000 1.3 +++ dlls/kernel/computername.c 25 Nov 2002 21:26:15 -0000 @@ -643,3 +643,26 @@ return FALSE; } } + +/*********************************************************************** + * DnsHostnameToComputerNameA (KERNEL32.@) + */ +BOOL WINAPI DnsHostnameToComputerNameA(LPCSTR Hostname, LPSTR ComputerName, + LPDWORD nSize) +{ + FIXME("(%s, %s, %08x): stub\n", Hostname, ComputerName, *nSize); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + +/*********************************************************************** + * DnsHostnameToComputerNameW (KERNEL32.@) + */ +BOOL WINAPI DnsHostnameToComputerNameW(LPCWSTR Hostname, LPWSTR ComputerName, + LPDWORD nSize) +{ + FIXME("(%s, %s, %08x): stub\n", debugstr_w(Hostname), + debugstr_w(ComputerName), *nSize); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} Index: dlls/kernel/kernel32.spec =================================================================== RCS file: /home/wine/wine/dlls/kernel/kernel32.spec,v retrieving revision 1.77 diff -u -r1.77 kernel32.spec --- dlls/kernel/kernel32.spec 25 Nov 2002 20:51:31 -0000 1.77 +++ dlls/kernel/kernel32.spec 25 Nov 2002 21:26:15 -0000 @@ -960,11 +960,14 @@ @ stdcall CreateTimerQueueTimer(ptr long ptr ptr long long long) CreateTimerQueueTimer @ stdcall DeleteTimerQueueEx (long long) DeleteTimerQueueEx @ stdcall DeleteTimerQueueTimer(long long long) DeleteTimerQueueTimer +@ stdcall DnsHostnameToComputerNameA (str str ptr) DnsHostnameToComputerNameA +@ stdcall DnsHostnameToComputerNameW (wstr wstr ptr) DnsHostnameToComputerNameW @ stdcall GetCalendarInfoA(long long long ptr long ptr) GetCalendarInfoA @ stdcall GetCalendarInfoW(long long long ptr long ptr) GetCalendarInfoW @ stdcall GetSystemWindowsDirectoryA(ptr long) GetSystemWindowsDirectoryA @ stdcall GetSystemWindowsDirectoryW(ptr long) GetSystemWindowsDirectoryW @ stdcall InitializeCriticalSectionAndSpinCount(ptr long) InitializeCriticalSectionAndSpinCount +@ stub PrivCopyFileExW @ stdcall ProcessIdToSessionId(long ptr) ProcessIdToSessionId @ stdcall SetCalendarInfoA(long long long str) SetCalendarInfoA @ stdcall SetCalendarInfoW(long long long wstr) SetCalendarInfoW Index: include/winbase.h =================================================================== RCS file: /home/wine/wine/include/winbase.h,v retrieving revision 1.167 diff -u -r1.167 winbase.h --- include/winbase.h 25 Nov 2002 20:51:31 -0000 1.167 +++ include/winbase.h 25 Nov 2002 21:26:15 -0000 @@ -1223,6 +1223,9 @@ BOOL WINAPI DeviceIoControl(HANDLE,DWORD,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,LPOVERLAPPED); BOOL WINAPI DisableThreadLibraryCalls(HMODULE); BOOL WINAPI DisconnectNamedPipe(HANDLE); +BOOL WINAPI DnsHostnameToComputerNameA(LPCSTR,LPSTR,LPDWORD); +BOOL WINAPI DnsHostnameToComputerNameW(LPCWSTR,LPWSTR,LPDWORD); +#define DnsHostnameToComputerName WINELIB_NAME_AW(DnsHostnameToComputerName) BOOL WINAPI DosDateTimeToFileTime(WORD,WORD,LPFILETIME); BOOL WINAPI DuplicateHandle(HANDLE,HANDLE,HANDLE,HANDLE*,DWORD,BOOL,DWORD); BOOL WINAPI EscapeCommFunction(HANDLE,UINT);