mirror of
https://github.com/reactos/wine.git
synced 2024-11-27 05:30:30 +00:00
mpr: Implement WNetConnectionDialog().
Signed-off-by: Pierre Schweitzer <pierre@reactos.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fc33e982d7
commit
2619267170
@ -2440,10 +2440,18 @@ DWORD WINAPI WNetGetUserW( LPCWSTR lpName, LPWSTR lpUserID, LPDWORD lpBufferSize
|
||||
*/
|
||||
DWORD WINAPI WNetConnectionDialog( HWND hwnd, DWORD dwType )
|
||||
{
|
||||
FIXME( "(%p, %08X): stub\n", hwnd, dwType );
|
||||
CONNECTDLGSTRUCTW conn_dlg;
|
||||
NETRESOURCEW net_res;
|
||||
|
||||
SetLastError(WN_NO_NETWORK);
|
||||
return WN_NO_NETWORK;
|
||||
ZeroMemory(&conn_dlg, sizeof(conn_dlg));
|
||||
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…
Reference in New Issue
Block a user