Provide stubs for DnsHostnameToComputerNameA/W.

This commit is contained in:
Steve Lustbader 2002-11-27 21:38:06 +00:00 committed by Alexandre Julliard
parent 14a22702ac
commit e45b1e5cd8
3 changed files with 30 additions and 0 deletions

View File

@ -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;
}

View File

@ -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

View File

@ -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);