diff --git a/dlls/kernel/computername.c b/dlls/kernel/computername.c index 9fcda8e58f7..1caef93426d 100644 --- a/dlls/kernel/computername.c +++ b/dlls/kernel/computername.c @@ -643,3 +643,27 @@ BOOL WINAPI SetComputerNameExA( COMPUTER_NAME_FORMAT type, LPCSTR lpComputerName return FALSE; } } + +/*********************************************************************** + * DnsHostnameToComputerNameA (KERNEL32.@) + */ +BOOL WINAPI DnsHostnameToComputerNameA(LPCSTR Hostname, LPSTR ComputerName, + LPDWORD nSize) +{ + FIXME("(%s, %s, %08lx): stub\n", debugstr_a(Hostname), + debugstr_a(ComputerName), *nSize); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + +/*********************************************************************** + * DnsHostnameToComputerNameW (KERNEL32.@) + */ +BOOL WINAPI DnsHostnameToComputerNameW(LPCWSTR Hostname, LPWSTR ComputerName, + LPDWORD nSize) +{ + FIXME("(%s, %s, %08lx): stub\n", debugstr_w(Hostname), + debugstr_w(ComputerName), *nSize); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} diff --git a/dlls/kernel/kernel32.spec b/dlls/kernel/kernel32.spec index 63445268783..f65789cc496 100644 --- a/dlls/kernel/kernel32.spec +++ b/dlls/kernel/kernel32.spec @@ -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 ptr ptr) DnsHostnameToComputerNameA +@ stdcall DnsHostnameToComputerNameW (wstr ptr 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 diff --git a/include/winbase.h b/include/winbase.h index d518a00b35a..0a82687bc39 100644 --- a/include/winbase.h +++ b/include/winbase.h @@ -1223,6 +1223,9 @@ BOOL WINAPI DeregisterEventSource(HANDLE); 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);