mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:42:57 +00:00
[MPR]
Import Wine commit: - 26192671700360859cd8a0133dabcd96ec1a786b, Implement WNetConnectionDialog(). CORE-13516 svn path=/trunk/; revision=75285
This commit is contained in:
parent
d876a3ea01
commit
d135302c2f
1 changed files with 11 additions and 3 deletions
|
@ -2669,10 +2669,18 @@ 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, %08X): stub\n", hwnd, dwType );
|
CONNECTDLGSTRUCTW conn_dlg;
|
||||||
|
NETRESOURCEW net_res;
|
||||||
|
|
||||||
SetLastError(WN_NO_NETWORK);
|
ZeroMemory(&conn_dlg, sizeof(conn_dlg));
|
||||||
return WN_NO_NETWORK;
|
ZeroMemory(&net_res, sizeof(net_res));
|
||||||
|
|
||||||
|
conn_dlg.cbStructure = sizeof(conn_dlg);
|
||||||
|
conn_dlg.lpConnRes = &net_res;
|
||||||
|
conn_dlg.hwndOwner = hwnd;
|
||||||
|
net_res.dwType = dwType;
|
||||||
|
|
||||||
|
return WNetConnectionDialog1W(&conn_dlg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*********************************************************************
|
/*********************************************************************
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue