mpr: Implement WNetConnectionDialog().

Signed-off-by: Pierre Schweitzer <pierre@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Pierre Schweitzer 2017-07-02 11:52:59 +02:00 committed by Alexandre Julliard
parent fc33e982d7
commit 2619267170

View file

@ -2440,10 +2440,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);
} }
/********************************************************************* /*********************************************************************