Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
e45b1e5c
Commit
e45b1e5c
authored
Nov 27, 2002
by
Steve Lustbader
Committed by
Alexandre Julliard
Nov 27, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide stubs for DnsHostnameToComputerNameA/W.
parent
14a22702
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
0 deletions
+30
-0
computername.c
dlls/kernel/computername.c
+24
-0
kernel32.spec
dlls/kernel/kernel32.spec
+3
-0
winbase.h
include/winbase.h
+3
-0
No files found.
dlls/kernel/computername.c
View file @
e45b1e5c
...
...
@@ -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
;
}
dlls/kernel/kernel32.spec
View file @
e45b1e5c
...
...
@@ -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
...
...
include/winbase.h
View file @
e45b1e5c
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment