Fix some prototypes to match the PSDK.

This commit is contained in:
Ge van Geldorp 2005-11-21 11:59:27 +00:00 committed by Alexandre Julliard
parent de9d974f2f
commit 2f57b9f36e
3 changed files with 6 additions and 6 deletions

View File

@ -95,8 +95,8 @@ static BOOL NETAPI_IsKnownUser(LPCWSTR UserName)
/************************************************************ /************************************************************
* NetUserAdd (NETAPI32.@) * NetUserAdd (NETAPI32.@)
*/ */
NET_API_STATUS WINAPI NetUserAdd(LMSTR servername, NET_API_STATUS WINAPI NetUserAdd(LPCWSTR servername,
DWORD level, LPBYTE* bufptr, LPDWORD parm_err) DWORD level, LPBYTE bufptr, LPDWORD parm_err)
{ {
NET_API_STATUS status; NET_API_STATUS status;
FIXME("(%s, %ld, %p, %p) stub!\n", debugstr_w(servername), level, bufptr, parm_err); FIXME("(%s, %ld, %p, %p) stub!\n", debugstr_w(servername), level, bufptr, parm_err);
@ -433,7 +433,7 @@ static void ACCESS_CopyDisplayUser(PNET_DISPLAY_USER dest, LPWSTR *dest_buf,
*/ */
NET_API_STATUS WINAPI NET_API_STATUS WINAPI
NetQueryDisplayInformation( NetQueryDisplayInformation(
LPWSTR ServerName, DWORD Level, DWORD Index, DWORD EntriesRequested, LPCWSTR ServerName, DWORD Level, DWORD Index, DWORD EntriesRequested,
DWORD PreferredMaximumLength, LPDWORD ReturnedEntryCount, DWORD PreferredMaximumLength, LPDWORD ReturnedEntryCount,
PVOID *SortedBuffer) PVOID *SortedBuffer)
{ {
@ -540,7 +540,7 @@ NetQueryDisplayInformation(
*/ */
NET_API_STATUS WINAPI NET_API_STATUS WINAPI
NetGetDCName(LPWSTR servername, LPWSTR domainname, LPBYTE *bufptr) NetGetDCName(LPCWSTR servername, LPCWSTR domainname, LPBYTE *bufptr)
{ {
FIXME("(%s, %s, %p) stub!\n", debugstr_w(servername), FIXME("(%s, %s, %p) stub!\n", debugstr_w(servername),
debugstr_w(domainname), bufptr); debugstr_w(domainname), bufptr);

View File

@ -71,7 +71,7 @@ NET_API_STATUS WINAPI NetServerEnum(
/************************************************************ /************************************************************
* NetServerGetInfo (NETAPI32.@) * NetServerGetInfo (NETAPI32.@)
*/ */
NET_API_STATUS WINAPI NetServerGetInfo(LPCWSTR servername, DWORD level, LPBYTE* bufptr) NET_API_STATUS WINAPI NetServerGetInfo(LMSTR servername, DWORD level, LPBYTE* bufptr)
{ {
FIXME("stub (%p, %ld, %p)\n", servername, level, bufptr); FIXME("stub (%p, %ld, %p)\n", servername, level, bufptr);
return ERROR_ACCESS_DENIED; return ERROR_ACCESS_DENIED;

View File

@ -407,7 +407,7 @@ NET_API_STATUS WINAPI NetUserGetInfo(LPCWSTR servername, LPCWSTR username,
DWORD level, LPBYTE* bufptr); DWORD level, LPBYTE* bufptr);
NET_API_STATUS WINAPI NetQueryDisplayInformation( NET_API_STATUS WINAPI NetQueryDisplayInformation(
LPWSTR ServerName, DWORD Level, DWORD Index, DWORD EntriesRequested, LPCWSTR ServerName, DWORD Level, DWORD Index, DWORD EntriesRequested,
DWORD PreferredMaximumLength, LPDWORD ReturnedEntryCount, DWORD PreferredMaximumLength, LPDWORD ReturnedEntryCount,
PVOID *SortedBuffer); PVOID *SortedBuffer);