mpr: Win64 printf format warning fixes.
This commit is contained in:
parent
c67f5de5a7
commit
b46d30e523
|
@ -5,7 +5,6 @@ VPATH = @srcdir@
|
||||||
MODULE = mpr.dll
|
MODULE = mpr.dll
|
||||||
IMPORTLIB = libmpr.$(IMPLIBEXT)
|
IMPORTLIB = libmpr.$(IMPLIBEXT)
|
||||||
IMPORTS = user32 advapi32 kernel32
|
IMPORTS = user32 advapi32 kernel32
|
||||||
EXTRADEFS = -DWINE_NO_LONG_AS_INT
|
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
auth.c \
|
auth.c \
|
||||||
|
|
|
@ -66,7 +66,7 @@ DWORD WINAPI MultinetGetConnectionPerformanceW(
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI MultinetGetErrorTextA( DWORD x, DWORD y, DWORD z )
|
DWORD WINAPI MultinetGetErrorTextA( DWORD x, DWORD y, DWORD z )
|
||||||
{
|
{
|
||||||
FIXME( "(%lx, %lx, %lx): stub\n", x, y, z );
|
FIXME( "(%x, %x, %x): stub\n", x, y, z );
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -75,7 +75,6 @@ DWORD WINAPI MultinetGetErrorTextA( DWORD x, DWORD y, DWORD z )
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI MultinetGetErrorTextW( DWORD x, DWORD y, DWORD z )
|
DWORD WINAPI MultinetGetErrorTextW( DWORD x, DWORD y, DWORD z )
|
||||||
{
|
{
|
||||||
FIXME( "(%lx, %lx, %lx ): stub\n", x, y, z );
|
FIXME( "(%x, %x, %x ): stub\n", x, y, z );
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -155,7 +155,7 @@ DWORD WINAPI NPSGetSectionNameA( HPROVIDER hProvider, LPCSTR *lpszSectionName )
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI NPSSetExtendedErrorA( DWORD NetSpecificError, LPSTR lpExtendedErrorText )
|
DWORD WINAPI NPSSetExtendedErrorA( DWORD NetSpecificError, LPSTR lpExtendedErrorText )
|
||||||
{
|
{
|
||||||
FIXME( "(%08lx, %s): stub\n", NetSpecificError, debugstr_a(lpExtendedErrorText) );
|
FIXME( "(%08x, %s): stub\n", NetSpecificError, debugstr_a(lpExtendedErrorText) );
|
||||||
return WN_NOT_SUPPORTED;
|
return WN_NOT_SUPPORTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -190,7 +190,7 @@ DWORD WINAPI NPSDeviceGetNumberA( LPSTR lpLocalName, LPDWORD lpdwNumber, LPDWORD
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI NPSDeviceGetStringA( DWORD dwNumber, DWORD dwType, LPSTR lpLocalName, LPDWORD lpdwBufferSize )
|
DWORD WINAPI NPSDeviceGetStringA( DWORD dwNumber, DWORD dwType, LPSTR lpLocalName, LPDWORD lpdwBufferSize )
|
||||||
{
|
{
|
||||||
FIXME( "(%ld, %ld, %p, %p): stub\n", dwNumber, dwType, lpLocalName, lpdwBufferSize );
|
FIXME( "(%d, %d, %p, %p): stub\n", dwNumber, dwType, lpLocalName, lpdwBufferSize );
|
||||||
return WN_NOT_SUPPORTED;
|
return WN_NOT_SUPPORTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -217,7 +217,7 @@ LPVOID WINAPI NPSNotifyGetContextA( NOTIFYCALLBACK pfNotifyCallBack )
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI PwdGetPasswordStatusA( LPCSTR lpProvider, DWORD dwIndex, LPDWORD status )
|
DWORD WINAPI PwdGetPasswordStatusA( LPCSTR lpProvider, DWORD dwIndex, LPDWORD status )
|
||||||
{
|
{
|
||||||
FIXME("%s %ld %p\n", debugstr_a(lpProvider), dwIndex, status );
|
FIXME("%s %d %p\n", debugstr_a(lpProvider), dwIndex, status );
|
||||||
*status = 0;
|
*status = 0;
|
||||||
return WN_SUCCESS;
|
return WN_SUCCESS;
|
||||||
}
|
}
|
||||||
|
@ -227,7 +227,7 @@ DWORD WINAPI PwdGetPasswordStatusA( LPCSTR lpProvider, DWORD dwIndex, LPDWORD st
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI PwdGetPasswordStatusW( LPCWSTR lpProvider, DWORD dwIndex, LPDWORD status )
|
DWORD WINAPI PwdGetPasswordStatusW( LPCWSTR lpProvider, DWORD dwIndex, LPDWORD status )
|
||||||
{
|
{
|
||||||
FIXME("%s %ld %p\n", debugstr_w(lpProvider), dwIndex, status );
|
FIXME("%s %d %p\n", debugstr_w(lpProvider), dwIndex, status );
|
||||||
*status = 0;
|
*status = 0;
|
||||||
return WN_SUCCESS;
|
return WN_SUCCESS;
|
||||||
}
|
}
|
||||||
|
@ -237,7 +237,7 @@ DWORD WINAPI PwdGetPasswordStatusW( LPCWSTR lpProvider, DWORD dwIndex, LPDWORD s
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI PwdSetPasswordStatusA( LPCSTR lpProvider, DWORD dwIndex, DWORD status )
|
DWORD WINAPI PwdSetPasswordStatusA( LPCSTR lpProvider, DWORD dwIndex, DWORD status )
|
||||||
{
|
{
|
||||||
FIXME("%s %ld %ld\n", debugstr_a(lpProvider), dwIndex, status );
|
FIXME("%s %d %d\n", debugstr_a(lpProvider), dwIndex, status );
|
||||||
return WN_SUCCESS;
|
return WN_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -246,7 +246,7 @@ DWORD WINAPI PwdSetPasswordStatusA( LPCSTR lpProvider, DWORD dwIndex, DWORD stat
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI PwdSetPasswordStatusW( LPCWSTR lpProvider, DWORD dwIndex, DWORD status )
|
DWORD WINAPI PwdSetPasswordStatusW( LPCWSTR lpProvider, DWORD dwIndex, DWORD status )
|
||||||
{
|
{
|
||||||
FIXME("%s %ld %ld\n", debugstr_w(lpProvider), dwIndex, status );
|
FIXME("%s %d %d\n", debugstr_w(lpProvider), dwIndex, status );
|
||||||
return WN_SUCCESS;
|
return WN_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -267,7 +267,7 @@ typedef struct _CHANGEPWDINFOW {
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI PwdChangePasswordA( LPCSTR lpProvider, HWND hWnd, DWORD flags, LPCHANGEPWDINFOA info )
|
DWORD WINAPI PwdChangePasswordA( LPCSTR lpProvider, HWND hWnd, DWORD flags, LPCHANGEPWDINFOA info )
|
||||||
{
|
{
|
||||||
FIXME("%s %p %lx %p\n", debugstr_a(lpProvider), hWnd, flags, info );
|
FIXME("%s %p %x %p\n", debugstr_a(lpProvider), hWnd, flags, info );
|
||||||
return WN_SUCCESS;
|
return WN_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -276,6 +276,6 @@ DWORD WINAPI PwdChangePasswordA( LPCSTR lpProvider, HWND hWnd, DWORD flags, LPCH
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI PwdChangePasswordW( LPCWSTR lpProvider, HWND hWnd, DWORD flags, LPCHANGEPWDINFOW info )
|
DWORD WINAPI PwdChangePasswordW( LPCWSTR lpProvider, HWND hWnd, DWORD flags, LPCHANGEPWDINFOW info )
|
||||||
{
|
{
|
||||||
FIXME("%s %p %lx %p\n", debugstr_w(lpProvider), hWnd, flags, info );
|
FIXME("%s %p %x %p\n", debugstr_w(lpProvider), hWnd, flags, info );
|
||||||
return WN_SUCCESS;
|
return WN_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
|
@ -248,7 +248,7 @@ UINT WINAPI WNetEnumCachedPasswords(
|
||||||
PASSWORD_CACHE_ENTRY *entry;
|
PASSWORD_CACHE_ENTRY *entry;
|
||||||
CHAR val[256], prefix[6];
|
CHAR val[256], prefix[6];
|
||||||
|
|
||||||
WARN( "(%s, %d, %d, %p, 0x%08lx) totally insecure\n",
|
WARN( "(%s, %d, %d, %p, 0x%08x) totally insecure\n",
|
||||||
debugstr_an(pbPrefix,cbPrefix), cbPrefix,
|
debugstr_an(pbPrefix,cbPrefix), cbPrefix,
|
||||||
nType, enumPasswordProc, param );
|
nType, enumPasswordProc, param );
|
||||||
|
|
||||||
|
|
|
@ -166,7 +166,7 @@ static void _tryLoadProvider(PCWSTR provider)
|
||||||
provider->getCaps = getCaps;
|
provider->getCaps = getCaps;
|
||||||
provider->dwSpecVersion = getCaps(WNNC_SPEC_VERSION);
|
provider->dwSpecVersion = getCaps(WNNC_SPEC_VERSION);
|
||||||
provider->dwNetType = getCaps(WNNC_NET_TYPE);
|
provider->dwNetType = getCaps(WNNC_NET_TYPE);
|
||||||
TRACE("net type is 0x%08lx\n", provider->dwNetType);
|
TRACE("net type is 0x%08x\n", provider->dwNetType);
|
||||||
provider->dwEnumScopes = getCaps(WNNC_ENUMERATION);
|
provider->dwEnumScopes = getCaps(WNNC_ENUMERATION);
|
||||||
if (provider->dwEnumScopes)
|
if (provider->dwEnumScopes)
|
||||||
{
|
{
|
||||||
|
@ -520,7 +520,7 @@ static DWORD _thunkNetResourceArrayWToA(const LPNETRESOURCEW lpNetArrayIn,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ret = numToThunk < *lpcCount ? WN_MORE_DATA : WN_SUCCESS;
|
ret = numToThunk < *lpcCount ? WN_MORE_DATA : WN_SUCCESS;
|
||||||
TRACE("numToThunk is %ld, *lpcCount is %ld, returning %ld\n", numToThunk,
|
TRACE("numToThunk is %d, *lpcCount is %d, returning %d\n", numToThunk,
|
||||||
*lpcCount, ret);
|
*lpcCount, ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@ -605,7 +605,7 @@ static DWORD _thunkNetResourceArrayAToW(const LPNETRESOURCEA lpNetArrayIn,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ret = numToThunk < *lpcCount ? WN_MORE_DATA : WN_SUCCESS;
|
ret = numToThunk < *lpcCount ? WN_MORE_DATA : WN_SUCCESS;
|
||||||
TRACE("numToThunk is %ld, *lpcCount is %ld, returning %ld\n", numToThunk,
|
TRACE("numToThunk is %d, *lpcCount is %d, returning %d\n", numToThunk,
|
||||||
*lpcCount, ret);
|
*lpcCount, ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@ -620,7 +620,7 @@ DWORD WINAPI WNetOpenEnumA( DWORD dwScope, DWORD dwType, DWORD dwUsage,
|
||||||
{
|
{
|
||||||
DWORD ret;
|
DWORD ret;
|
||||||
|
|
||||||
TRACE( "(%08lX, %08lX, %08lX, %p, %p)\n",
|
TRACE( "(%08X, %08X, %08X, %p, %p)\n",
|
||||||
dwScope, dwType, dwUsage, lpNet, lphEnum );
|
dwScope, dwType, dwUsage, lpNet, lphEnum );
|
||||||
|
|
||||||
if (!lphEnum)
|
if (!lphEnum)
|
||||||
|
@ -663,7 +663,7 @@ DWORD WINAPI WNetOpenEnumA( DWORD dwScope, DWORD dwType, DWORD dwUsage,
|
||||||
}
|
}
|
||||||
if (ret)
|
if (ret)
|
||||||
SetLastError(ret);
|
SetLastError(ret);
|
||||||
TRACE("Returning %ld\n", ret);
|
TRACE("Returning %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -709,7 +709,7 @@ DWORD WINAPI WNetOpenEnumW( DWORD dwScope, DWORD dwType, DWORD dwUsage,
|
||||||
{
|
{
|
||||||
DWORD ret;
|
DWORD ret;
|
||||||
|
|
||||||
TRACE( "(%08lX, %08lX, %08lX, %p, %p)\n",
|
TRACE( "(%08X, %08X, %08X, %p, %p)\n",
|
||||||
dwScope, dwType, dwUsage, lpNet, lphEnum );
|
dwScope, dwType, dwUsage, lpNet, lphEnum );
|
||||||
|
|
||||||
if (!lphEnum)
|
if (!lphEnum)
|
||||||
|
@ -795,13 +795,13 @@ DWORD WINAPI WNetOpenEnumW( DWORD dwScope, DWORD dwType, DWORD dwUsage,
|
||||||
ret = *lphEnum ? WN_SUCCESS : WN_OUT_OF_MEMORY;
|
ret = *lphEnum ? WN_SUCCESS : WN_OUT_OF_MEMORY;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
WARN("unknown scope 0x%08lx\n", dwScope);
|
WARN("unknown scope 0x%08x\n", dwScope);
|
||||||
ret = WN_BAD_VALUE;
|
ret = WN_BAD_VALUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (ret)
|
if (ret)
|
||||||
SetLastError(ret);
|
SetLastError(ret);
|
||||||
TRACE("Returning %ld\n", ret);
|
TRACE("Returning %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -856,7 +856,7 @@ DWORD WINAPI WNetEnumResourceA( HANDLE hEnum, LPDWORD lpcCount,
|
||||||
}
|
}
|
||||||
if (ret)
|
if (ret)
|
||||||
SetLastError(ret);
|
SetLastError(ret);
|
||||||
TRACE("Returning %ld\n", ret);
|
TRACE("Returning %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -938,7 +938,7 @@ static DWORD _enumerateProvidersW(PWNetEnumerator enumerator, LPDWORD lpcCount,
|
||||||
*lpcCount = count;
|
*lpcCount = count;
|
||||||
ret = count > 0 ? WN_SUCCESS : WN_MORE_DATA;
|
ret = count > 0 ? WN_SUCCESS : WN_MORE_DATA;
|
||||||
}
|
}
|
||||||
TRACE("Returning %ld\n", ret);
|
TRACE("Returning %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1023,7 +1023,7 @@ static DWORD _enumerateGlobalPassthroughW(PWNetEnumerator enumerator,
|
||||||
enumerator->providerDone = TRUE;
|
enumerator->providerDone = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
TRACE("Returning %ld\n", ret);
|
TRACE("Returning %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1062,10 +1062,10 @@ static DWORD _enumerateGlobalW(PWNetEnumerator enumerator, LPDWORD lpcCount,
|
||||||
lpBufferSize);
|
lpBufferSize);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
WARN("unexpected scope 0x%08lx\n", enumerator->dwScope);
|
WARN("unexpected scope 0x%08x\n", enumerator->dwScope);
|
||||||
ret = WN_NO_MORE_ENTRIES;
|
ret = WN_NO_MORE_ENTRIES;
|
||||||
}
|
}
|
||||||
TRACE("Returning %ld\n", ret);
|
TRACE("Returning %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1167,7 +1167,7 @@ static DWORD _enumerateContextW(PWNetEnumerator enumerator, LPDWORD lpcCount,
|
||||||
*lpBufferSize = bytesNeeded;
|
*lpBufferSize = bytesNeeded;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
TRACE("Returning %ld\n", ret);
|
TRACE("Returning %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1222,7 +1222,7 @@ DWORD WINAPI WNetEnumResourceW( HANDLE hEnum, LPDWORD lpcCount,
|
||||||
}
|
}
|
||||||
if (ret)
|
if (ret)
|
||||||
SetLastError(ret);
|
SetLastError(ret);
|
||||||
TRACE("Returning %ld\n", ret);
|
TRACE("Returning %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1268,7 +1268,7 @@ DWORD WINAPI WNetCloseEnum( HANDLE hEnum )
|
||||||
ret = WN_BAD_HANDLE;
|
ret = WN_BAD_HANDLE;
|
||||||
if (ret)
|
if (ret)
|
||||||
SetLastError(ret);
|
SetLastError(ret);
|
||||||
TRACE("Returning %ld\n", ret);
|
TRACE("Returning %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1365,7 +1365,7 @@ DWORD WINAPI WNetAddConnection2A( LPNETRESOURCEA lpNetResource,
|
||||||
LPCSTR lpPassword, LPCSTR lpUserID,
|
LPCSTR lpPassword, LPCSTR lpUserID,
|
||||||
DWORD dwFlags )
|
DWORD dwFlags )
|
||||||
{
|
{
|
||||||
FIXME( "(%p, %p, %s, 0x%08lX): stub\n",
|
FIXME( "(%p, %p, %s, 0x%08X): stub\n",
|
||||||
lpNetResource, lpPassword, debugstr_a(lpUserID), dwFlags );
|
lpNetResource, lpPassword, debugstr_a(lpUserID), dwFlags );
|
||||||
|
|
||||||
SetLastError(WN_NO_NETWORK);
|
SetLastError(WN_NO_NETWORK);
|
||||||
|
@ -1379,7 +1379,7 @@ DWORD WINAPI WNetAddConnection2W( LPNETRESOURCEW lpNetResource,
|
||||||
LPCWSTR lpPassword, LPCWSTR lpUserID,
|
LPCWSTR lpPassword, LPCWSTR lpUserID,
|
||||||
DWORD dwFlags )
|
DWORD dwFlags )
|
||||||
{
|
{
|
||||||
FIXME( "(%p, %p, %s, 0x%08lX): stub\n",
|
FIXME( "(%p, %p, %s, 0x%08X): stub\n",
|
||||||
lpNetResource, lpPassword, debugstr_w(lpUserID), dwFlags );
|
lpNetResource, lpPassword, debugstr_w(lpUserID), dwFlags );
|
||||||
|
|
||||||
SetLastError(WN_NO_NETWORK);
|
SetLastError(WN_NO_NETWORK);
|
||||||
|
@ -1393,7 +1393,7 @@ DWORD WINAPI WNetAddConnection3A( HWND hwndOwner, LPNETRESOURCEA lpNetResource,
|
||||||
LPCSTR lpPassword, LPCSTR lpUserID,
|
LPCSTR lpPassword, LPCSTR lpUserID,
|
||||||
DWORD dwFlags )
|
DWORD dwFlags )
|
||||||
{
|
{
|
||||||
FIXME( "(%p, %p, %p, %s, 0x%08lX), stub\n",
|
FIXME( "(%p, %p, %p, %s, 0x%08X), stub\n",
|
||||||
hwndOwner, lpNetResource, lpPassword, debugstr_a(lpUserID), dwFlags );
|
hwndOwner, lpNetResource, lpPassword, debugstr_a(lpUserID), dwFlags );
|
||||||
|
|
||||||
SetLastError(WN_NO_NETWORK);
|
SetLastError(WN_NO_NETWORK);
|
||||||
|
@ -1407,7 +1407,7 @@ DWORD WINAPI WNetAddConnection3W( HWND hwndOwner, LPNETRESOURCEW lpNetResource,
|
||||||
LPCWSTR lpPassword, LPCWSTR lpUserID,
|
LPCWSTR lpPassword, LPCWSTR lpUserID,
|
||||||
DWORD dwFlags )
|
DWORD dwFlags )
|
||||||
{
|
{
|
||||||
FIXME( "(%p, %p, %p, %s, 0x%08lX), stub\n",
|
FIXME( "(%p, %p, %p, %s, 0x%08X), stub\n",
|
||||||
hwndOwner, lpNetResource, lpPassword, debugstr_w(lpUserID), dwFlags );
|
hwndOwner, lpNetResource, lpPassword, debugstr_w(lpUserID), dwFlags );
|
||||||
|
|
||||||
SetLastError(WN_NO_NETWORK);
|
SetLastError(WN_NO_NETWORK);
|
||||||
|
@ -1422,7 +1422,7 @@ DWORD WINAPI WNetUseConnectionA( HWND hwndOwner, LPNETRESOURCEA lpNetResource,
|
||||||
LPSTR lpAccessName, LPDWORD lpBufferSize,
|
LPSTR lpAccessName, LPDWORD lpBufferSize,
|
||||||
LPDWORD lpResult )
|
LPDWORD lpResult )
|
||||||
{
|
{
|
||||||
FIXME( "(%p, %p, %p, %s, 0x%08lX, %s, %p, %p), stub\n",
|
FIXME( "(%p, %p, %p, %s, 0x%08X, %s, %p, %p), stub\n",
|
||||||
hwndOwner, lpNetResource, lpPassword, debugstr_a(lpUserID), dwFlags,
|
hwndOwner, lpNetResource, lpPassword, debugstr_a(lpUserID), dwFlags,
|
||||||
debugstr_a(lpAccessName), lpBufferSize, lpResult );
|
debugstr_a(lpAccessName), lpBufferSize, lpResult );
|
||||||
|
|
||||||
|
@ -1438,7 +1438,7 @@ DWORD WINAPI WNetUseConnectionW( HWND hwndOwner, LPNETRESOURCEW lpNetResource,
|
||||||
LPWSTR lpAccessName, LPDWORD lpBufferSize,
|
LPWSTR lpAccessName, LPDWORD lpBufferSize,
|
||||||
LPDWORD lpResult )
|
LPDWORD lpResult )
|
||||||
{
|
{
|
||||||
FIXME( "(%p, %p, %p, %s, 0x%08lX, %s, %p, %p), stub\n",
|
FIXME( "(%p, %p, %p, %s, 0x%08X, %s, %p, %p), stub\n",
|
||||||
hwndOwner, lpNetResource, lpPassword, debugstr_w(lpUserID), dwFlags,
|
hwndOwner, lpNetResource, lpPassword, debugstr_w(lpUserID), dwFlags,
|
||||||
debugstr_w(lpAccessName), lpBufferSize, lpResult );
|
debugstr_w(lpAccessName), lpBufferSize, lpResult );
|
||||||
|
|
||||||
|
@ -1471,7 +1471,7 @@ DWORD WINAPI WNetCancelConnectionW( LPCWSTR lpName, BOOL fForce )
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI WNetCancelConnection2A( LPCSTR lpName, DWORD dwFlags, BOOL fForce )
|
DWORD WINAPI WNetCancelConnection2A( LPCSTR lpName, DWORD dwFlags, BOOL fForce )
|
||||||
{
|
{
|
||||||
FIXME( "(%s, %08lX, %d), stub\n", debugstr_a(lpName), dwFlags, fForce );
|
FIXME( "(%s, %08X, %d), stub\n", debugstr_a(lpName), dwFlags, fForce );
|
||||||
|
|
||||||
return WN_SUCCESS;
|
return WN_SUCCESS;
|
||||||
}
|
}
|
||||||
|
@ -1481,7 +1481,7 @@ DWORD WINAPI WNetCancelConnection2A( LPCSTR lpName, DWORD dwFlags, BOOL fForce )
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI WNetCancelConnection2W( LPCWSTR lpName, DWORD dwFlags, BOOL fForce )
|
DWORD WINAPI WNetCancelConnection2W( LPCWSTR lpName, DWORD dwFlags, BOOL fForce )
|
||||||
{
|
{
|
||||||
FIXME( "(%s, %08lX, %d), stub\n", debugstr_w(lpName), dwFlags, fForce );
|
FIXME( "(%s, %08X, %d), stub\n", debugstr_w(lpName), dwFlags, fForce );
|
||||||
|
|
||||||
return WN_SUCCESS;
|
return WN_SUCCESS;
|
||||||
}
|
}
|
||||||
|
@ -1603,7 +1603,7 @@ DWORD WINAPI WNetGetConnectionA( LPCSTR lpLocalName,
|
||||||
}
|
}
|
||||||
if (ret)
|
if (ret)
|
||||||
SetLastError(ret);
|
SetLastError(ret);
|
||||||
TRACE("Returning %ld\n", ret);
|
TRACE("Returning %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1666,7 +1666,7 @@ DWORD WINAPI WNetGetConnectionW( LPCWSTR lpLocalName,
|
||||||
}
|
}
|
||||||
if (ret)
|
if (ret)
|
||||||
SetLastError(ret);
|
SetLastError(ret);
|
||||||
TRACE("Returning %ld\n", ret);
|
TRACE("Returning %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1676,7 +1676,7 @@ DWORD WINAPI WNetGetConnectionW( LPCWSTR lpLocalName,
|
||||||
DWORD WINAPI WNetSetConnectionA( LPCSTR lpName, DWORD dwProperty,
|
DWORD WINAPI WNetSetConnectionA( LPCSTR lpName, DWORD dwProperty,
|
||||||
LPVOID pvValue )
|
LPVOID pvValue )
|
||||||
{
|
{
|
||||||
FIXME( "(%s, %08lX, %p): stub\n", debugstr_a(lpName), dwProperty, pvValue );
|
FIXME( "(%s, %08X, %p): stub\n", debugstr_a(lpName), dwProperty, pvValue );
|
||||||
|
|
||||||
SetLastError(WN_NO_NETWORK);
|
SetLastError(WN_NO_NETWORK);
|
||||||
return WN_NO_NETWORK;
|
return WN_NO_NETWORK;
|
||||||
|
@ -1688,7 +1688,7 @@ DWORD WINAPI WNetSetConnectionA( LPCSTR lpName, DWORD dwProperty,
|
||||||
DWORD WINAPI WNetSetConnectionW( LPCWSTR lpName, DWORD dwProperty,
|
DWORD WINAPI WNetSetConnectionW( LPCWSTR lpName, DWORD dwProperty,
|
||||||
LPVOID pvValue )
|
LPVOID pvValue )
|
||||||
{
|
{
|
||||||
FIXME( "(%s, %08lX, %p): stub\n", debugstr_w(lpName), dwProperty, pvValue );
|
FIXME( "(%s, %08X, %p): stub\n", debugstr_w(lpName), dwProperty, pvValue );
|
||||||
|
|
||||||
SetLastError(WN_NO_NETWORK);
|
SetLastError(WN_NO_NETWORK);
|
||||||
return WN_NO_NETWORK;
|
return WN_NO_NETWORK;
|
||||||
|
@ -1700,7 +1700,7 @@ DWORD WINAPI WNetSetConnectionW( LPCWSTR lpName, DWORD dwProperty,
|
||||||
DWORD WINAPI WNetGetUniversalNameA ( LPCSTR lpLocalPath, DWORD dwInfoLevel,
|
DWORD WINAPI WNetGetUniversalNameA ( LPCSTR lpLocalPath, DWORD dwInfoLevel,
|
||||||
LPVOID lpBuffer, LPDWORD lpBufferSize )
|
LPVOID lpBuffer, LPDWORD lpBufferSize )
|
||||||
{
|
{
|
||||||
FIXME( "(%s, 0x%08lX, %p, %p): stub\n",
|
FIXME( "(%s, 0x%08X, %p, %p): stub\n",
|
||||||
debugstr_a(lpLocalPath), dwInfoLevel, lpBuffer, lpBufferSize);
|
debugstr_a(lpLocalPath), dwInfoLevel, lpBuffer, lpBufferSize);
|
||||||
|
|
||||||
SetLastError(WN_NO_NETWORK);
|
SetLastError(WN_NO_NETWORK);
|
||||||
|
@ -1716,7 +1716,7 @@ DWORD WINAPI WNetGetUniversalNameW ( LPCWSTR lpLocalPath, DWORD dwInfoLevel,
|
||||||
LPUNIVERSAL_NAME_INFOW uniw;
|
LPUNIVERSAL_NAME_INFOW uniw;
|
||||||
DWORD err, len;
|
DWORD err, len;
|
||||||
|
|
||||||
FIXME( "(%s, 0x%08lX, %p, %p): stub\n",
|
FIXME( "(%s, 0x%08X, %p, %p): stub\n",
|
||||||
debugstr_w(lpLocalPath), dwInfoLevel, lpBuffer, lpBufferSize);
|
debugstr_w(lpLocalPath), dwInfoLevel, lpBuffer, lpBufferSize);
|
||||||
|
|
||||||
switch (dwInfoLevel)
|
switch (dwInfoLevel)
|
||||||
|
@ -1778,7 +1778,7 @@ DWORD WINAPI WNetGetUserW( LPCWSTR lpName, LPWSTR lpUserID, LPDWORD lpBufferSize
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI WNetConnectionDialog( HWND hwnd, DWORD dwType )
|
DWORD WINAPI WNetConnectionDialog( HWND hwnd, DWORD dwType )
|
||||||
{
|
{
|
||||||
FIXME( "(%p, %08lX): stub\n", hwnd, dwType );
|
FIXME( "(%p, %08X): stub\n", hwnd, dwType );
|
||||||
|
|
||||||
SetLastError(WN_NO_NETWORK);
|
SetLastError(WN_NO_NETWORK);
|
||||||
return WN_NO_NETWORK;
|
return WN_NO_NETWORK;
|
||||||
|
@ -1811,7 +1811,7 @@ DWORD WINAPI WNetConnectionDialog1W( LPCONNECTDLGSTRUCTW lpConnDlgStruct )
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI WNetDisconnectDialog( HWND hwnd, DWORD dwType )
|
DWORD WINAPI WNetDisconnectDialog( HWND hwnd, DWORD dwType )
|
||||||
{
|
{
|
||||||
FIXME( "(%p, %08lX): stub\n", hwnd, dwType );
|
FIXME( "(%p, %08X): stub\n", hwnd, dwType );
|
||||||
|
|
||||||
SetLastError(WN_NO_NETWORK);
|
SetLastError(WN_NO_NETWORK);
|
||||||
return WN_NO_NETWORK;
|
return WN_NO_NETWORK;
|
||||||
|
@ -1846,7 +1846,7 @@ DWORD WINAPI WNetGetLastErrorA( LPDWORD lpError,
|
||||||
LPSTR lpErrorBuf, DWORD nErrorBufSize,
|
LPSTR lpErrorBuf, DWORD nErrorBufSize,
|
||||||
LPSTR lpNameBuf, DWORD nNameBufSize )
|
LPSTR lpNameBuf, DWORD nNameBufSize )
|
||||||
{
|
{
|
||||||
FIXME( "(%p, %p, %ld, %p, %ld): stub\n",
|
FIXME( "(%p, %p, %d, %p, %d): stub\n",
|
||||||
lpError, lpErrorBuf, nErrorBufSize, lpNameBuf, nNameBufSize );
|
lpError, lpErrorBuf, nErrorBufSize, lpNameBuf, nNameBufSize );
|
||||||
|
|
||||||
SetLastError(WN_NO_NETWORK);
|
SetLastError(WN_NO_NETWORK);
|
||||||
|
@ -1860,7 +1860,7 @@ DWORD WINAPI WNetGetLastErrorW( LPDWORD lpError,
|
||||||
LPWSTR lpErrorBuf, DWORD nErrorBufSize,
|
LPWSTR lpErrorBuf, DWORD nErrorBufSize,
|
||||||
LPWSTR lpNameBuf, DWORD nNameBufSize )
|
LPWSTR lpNameBuf, DWORD nNameBufSize )
|
||||||
{
|
{
|
||||||
FIXME( "(%p, %p, %ld, %p, %ld): stub\n",
|
FIXME( "(%p, %p, %d, %p, %d): stub\n",
|
||||||
lpError, lpErrorBuf, nErrorBufSize, lpNameBuf, nNameBufSize );
|
lpError, lpErrorBuf, nErrorBufSize, lpNameBuf, nNameBufSize );
|
||||||
|
|
||||||
SetLastError(WN_NO_NETWORK);
|
SetLastError(WN_NO_NETWORK);
|
||||||
|
@ -1903,7 +1903,7 @@ DWORD WINAPI WNetGetNetworkInformationA( LPCSTR lpProvider,
|
||||||
}
|
}
|
||||||
if (ret)
|
if (ret)
|
||||||
SetLastError(ret);
|
SetLastError(ret);
|
||||||
TRACE("Returning %ld\n", ret);
|
TRACE("Returning %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1951,7 +1951,7 @@ DWORD WINAPI WNetGetNetworkInformationW( LPCWSTR lpProvider,
|
||||||
}
|
}
|
||||||
if (ret)
|
if (ret)
|
||||||
SetLastError(ret);
|
SetLastError(ret);
|
||||||
TRACE("Returning %ld\n", ret);
|
TRACE("Returning %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1963,7 +1963,7 @@ DWORD WINAPI WNetGetProviderNameA( DWORD dwNetType,
|
||||||
{
|
{
|
||||||
DWORD ret;
|
DWORD ret;
|
||||||
|
|
||||||
TRACE("(0x%08lx, %s, %p)\n", dwNetType, debugstr_a(lpProvider),
|
TRACE("(0x%08x, %s, %p)\n", dwNetType, debugstr_a(lpProvider),
|
||||||
lpBufferSize);
|
lpBufferSize);
|
||||||
|
|
||||||
if (!lpProvider)
|
if (!lpProvider)
|
||||||
|
@ -2006,7 +2006,7 @@ DWORD WINAPI WNetGetProviderNameA( DWORD dwNetType,
|
||||||
}
|
}
|
||||||
if (ret)
|
if (ret)
|
||||||
SetLastError(ret);
|
SetLastError(ret);
|
||||||
TRACE("Returning %ld\n", ret);
|
TRACE("Returning %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2018,7 +2018,7 @@ DWORD WINAPI WNetGetProviderNameW( DWORD dwNetType,
|
||||||
{
|
{
|
||||||
DWORD ret;
|
DWORD ret;
|
||||||
|
|
||||||
TRACE("(0x%08lx, %s, %p)\n", dwNetType, debugstr_w(lpProvider),
|
TRACE("(0x%08x, %s, %p)\n", dwNetType, debugstr_w(lpProvider),
|
||||||
lpBufferSize);
|
lpBufferSize);
|
||||||
|
|
||||||
if (!lpProvider)
|
if (!lpProvider)
|
||||||
|
@ -2059,6 +2059,6 @@ DWORD WINAPI WNetGetProviderNameW( DWORD dwNetType,
|
||||||
}
|
}
|
||||||
if (ret)
|
if (ret)
|
||||||
SetLastError(ret);
|
SetLastError(ret);
|
||||||
TRACE("Returning %ld\n", ret);
|
TRACE("Returning %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue